package com.zmzncs.lmtc.module.customer.pojo.ticket;

import com.zmzncs.lmtc.common.pojo.enums.optionalvalue.promotion.MonthRentTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 客户-会员卡
 * </p>
 *
 * @author JD
 * @since 2020-08-26
 */
@Data
public class CustTicketForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "优惠券id", required = true)
    @NotNull
    private Long ticketId;

    @ApiModelProperty(value = "用户优惠券ID", required = true)
    @NotNull
    private Long custTicketId;

    @ApiModelProperty(value = "客户id")
    @NotNull
    private Long customerId;

    @ApiModelProperty(value = "充值卡类型 0月卡 1时长 2定制月卡 4充值卡")
    @NotNull
    private Integer rentType;

    @ApiModelProperty(value = "支付金额", required = true)
    @NotNull
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "应收金额", required = true)
    private BigDecimal receivableAmount;


    public void validate(){

    }

}
